# DannyNiu/NJF, 2022-10-03. Public Domain.

arch_family=defaults
cflags=""
srcset="Plain C"
src="1-symm/rijndael.c 1-symm/galois128.c"

tests_run

arch_family=x86
cflags="\
-maes -mpclmul
-D NI_AES=NI_ALWAYS
-D NI_GALOIS128=NI_ALWAYS
"
srcset="x86 AESNI+PCLMUL"
src="1-symm/rijndael-x86.c 1-symm/galois128-x86.c"

tests_run

arch_family=arm
cflags="\
-march=armv8-a+crypto
-D NI_AES=NI_ALWAYS
-D NI_GALOIS128=NI_ALWAYS
"
srcset="ARM NEON Crypto"
src="1-symm/rijndael-arm.c 1-symm/galois128-arm.c"

tests_run

arch_family=ppc
cflags="\
-mcpu=power8
-D NI_AES=NI_ALWAYS
-D NI_GALOIS128=NI_ALWAYS
"
srcset="PowerPC AltiVec Crypto"
src="1-symm/rijndael-ppc.c 1-symm/galois128-ppc.c"

tests_run
